﻿using System;
using System.Collections.Generic;
using System.Text;

namespace GeoFly
{
    // Saptial Interpolation for Meteorological Data

    /*++++++++++++++++++++++++++++++++++++++++++++++++++++++|
    |		*****************************************       |
    |		*										*		|
    |		*  Nearist Station Interpolation Method	*		|
    |		*										*		|
    |		*****************************************		|
    |		*										*		|
    |		*	  Zhang Dong, GeoFly, Nanjing Univ	*		|
    |		*		written in:  02/2004			*		|
    |		*										*		|
    |		*****************************************       |
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

    class NearistInter : IDWInter
    {

        public NearistInter(StationInfo station)
        {
        }
        public NearistInter(MapExtent extent, double gridresolustion)
        {
        }



        //输出由多站点插值到某一单站点

        //的时序计算结果
       
        
        public bool SpatialGridOut(List<string> saStationName,		//栅格数据输出
                                float fx, float fy, int snum, int nsize)
        {
            return false;
        }


        int GetNearistStationID()
        {
            return 0;
        }
    };

    class PetInfoSet
    {

        double dLat;			//纬度
        double dElev;			//高程
        string sTav;			//平均气温
        string sWnd;			//平均风速
        string sRhmd;			//相对湿度
        string sShr;			//日照百分率
        string sMMTemp;		//最高最低气温
        PetInfoSet() { ResetContent(); }
        void ResetContent()
        {
            dLat = 38.0;
            dElev = 1500;
            sTav = sWnd = sRhmd = sShr = sMMTemp = "";
        }
    }
}